πŸ•ΈοΈ Ada Research Browser

phase3-org-router.md
← Back

Phase 3: Organization Router β€” Implementation Plan

TODO: phase3/org-router Branch: todo/phase3-org-router PRD: PRD-003 (Auth & RBAC)

Scope

Organization CRUD endpoints at /api/organizations with role-based access control.

Endpoints

Method Path Auth Description
POST /api/organizations system_admin Create organization
GET /api/organizations authenticated List organizations (system_admin: all, others: own org)
GET /api/organizations/{id} authenticated Get organization detail (system_admin: any, others: own org)
PATCH /api/organizations/{id} system_admin or org_admin (own org) Update organization
DELETE /api/organizations/{id} system_admin Delete organization

Files

New

Modified

Schemas

Authorization Logic

Test Cases